﻿using System;

namespace Qy.Web.Hubs;
public class OnlineUsers
{
    public string ConnnectionId { get; set; }
    public int? UserId { get; set; }
    public string Name { get; set; }
    public DateTime LoginTime { get; set; }
    public string UserIP { get; set; }
    public OnlineUsers(string clientid, string name, int? userid, string userip)
    {
        ConnnectionId = clientid;
        Name = name;
        LoginTime = DateTime.Now;
        UserId = userid;
        UserIP = userip;
    }
}
